#include "CVideogame.h"
//#include<iostream>

CVideogame::CVideogame (  string pTitle , float price, int stock)
{

	m_Title =  pTitle;
	m_price = price;
	m_stock = stock;

	//cout << "CVideogame::Constructor has been called." << endl;
}

CVideogame::~CVideogame(void)
{
}

void CVideogame::ShowAllTitle(void)
{
	cout<<"Title :"<<m_Title<<endl;

}
void CVideogame::ShowAllPrice( void )
{
	cout<<"Price :"<<m_price<<endl;
}
void CVideogame::ShowAllStock( void )
{

	cout<<"Stock :"<<m_stock<<endl;
}

//void CVideogame::sortPrice(void)
//{
//		int AAA;
//	for(int x=0; x<Num;x++)f
//	{
//		for(int y=1; y<=Num;y++)
//		{
//		if(Game[x].m_price > Game[y].m_price)
//			AAA= Game[x].m_price;
//		Game[x].m_price = Game[x+1].m_price;
//		Game[y].m_price = AAA;
//		}
//	
//	}
//}